{% block stylesheets %}
<link rel="stylesheet" href="/css/jrate/jrating.jquery.css">
{% endblock %}
{% block javascripts %}
<script src="{{ asset('js/jquery.js') }}" type="text/javascript"></script>                               
<script src="{{ asset('js/jrate/jrating.jquery.js') }}" type="text/javascript"></script>
<script type="text/javascript">
 $(document).ready(function(){
    $("#currentRate").jRating({
	  type: 'medium',
          rateMax : 10,
	  length : 10, // nb of stars
	  decimalLength : 1, // number of decimal in the rate
          isDisabled : {{isDisabled}}
    });
  });
</script>
{% endblock %}

{% block content %}
<span class="metaData"><span style="float: left;">Үнэлгээ : </span>
<div id="currentRate" data-average="{{currentRate}}" data-id="1" style="float:left;margin-left: 10px"></div>

</span>
{% endblock %}